package router

import (
	"gateway/handler/api"
	"github.com/gin-gonic/gin"
)

func LoadRouter(r *gin.Engine) {
	v1 := r.Group("/v1")
	{
		v1.POST("/home", api.Home)
		v1.POST("/homeRemove", api.HomeRemove)
		v1.POST("/module", api.MoDule)
		v1.POST("/class", api.Class)
		v1.POST("/classType", api.ClassType)
		v1.POST("/lass", api.Lass)
		v1.POST("/like", api.Like)
	}
}
